home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
083
/
phoenix1.arc
/
P.BAT
next >
Wrap
DOS Batch File
|
1987-12-09
|
1KB
|
58 lines
REM DELETE THIS LINE AND THE NEXT TWO TO USE
REM IF YOU CALL A BATCH FILE INSTEAD OF PROGRAM NAME BE SURE TO CALL P.BAT
REM AT THE END OF YOUR BATCH FILE
:LOOP
CTTY CON
REM BE SURE TO PUT YOUR DRIVE AND CD HERE LIKE THIS
REM C:
REM CD \PHOENIX
REM AND BE SURE NOT TO PUT IN A REM STATEMENT!
echo off
Phoenix
if errorlevel 32 GOTO SKEDX
if errorlevel 30 GOTO SKEDW
if errorlevel 28 GOTO SKEDV
if errorlevel 26 GOTO SKEDU
if errorlevel 24 GOTO SKEDT
if errorlevel 22 GOTO SKEDS
if errorlevel 20 GOTO SKEDR
if errorlevel 16 GOTO REMOTE
if errorlevel 1 GOTO LOOP
GOTO END
:REMOTE
echo on
prompt return to the Phoenix directory and type EXIT to return to the RCSd$_$P$G
CTTY AUX
COMMAND
prompt $P$G
GOTO LOOP
:SKEDR
REM PUT YOUR PROGRAM NAME HERE OR BATCH FILE CALLING P.BAT AFTER PROG EXECUTION
time(r) p 60
GOTO LOOP
:SKEDS
REM PUT YOUR PROGRAM NAME HERE ETC
time(r) p 60
GOTO LOOP
:SKEDT
REM PUT YOUR PROGRAM NAME HERE ETC
time(r) p 60
GOTO LOOP
:SKEDU
REM PUT YOUR PROGRAM NAME HERE ETC
time(r) p 60
GOTO LOOP
:SKEDV
REM PUT YOUR PROGRAM NAME HERE ETC
time(r) p 60
GOTO LOOP
:SKEDW
REM PUT YOUR PROGRAM NAME HERE ETC
time(r) p 60
GOTO LOOP
:SKEDX
REM PUT YOUR PROGRAM NAME HERE ETC
time(r) p 60
GOTO LOOP
:END